//
//  MJNetWorking.h
//  Wongo
//
//  Created by rexsu on 2017/2/6.
//  Copyright © 2017年 Wongo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"
#import "MJHttpRequest.h"

@interface MJNetWorking : NSObject

+(AFHTTPSessionManager*)createManagerIsSynchronous:(BOOL)isSynchronous;
+(RACSignal *)createGetRequestMenagerWithHttpRequest:(MJHttpRequest *)request;
+(RACSignal *)createDeleteRequestMenagerWithHttpRequest:(MJHttpRequest *)request;
+(RACSignal *)createPostBodyRequestMenagerWithHttpRequest:(MJHttpRequest *)request;
+(RACSignal *)createPutBodyRequestMenagerWithHttpRequest:(MJHttpRequest *)request;
+(RACSignal *)createPutRequestMenagerWithHttpRequest:(MJHttpRequest *)request;
@end
